package structure.bridge.thirdDimensions.arms;

import structure.bridge.thirdDimensions.corps.CorpsInterface;
import structure.bridge.thirdDimensions.label.LableDecortor;

/**
 * 步兵
 */
public class Infantry extends ArmsAbstraction {

    public Infantry(LableDecortor label, CorpsInterface corpsInterface) {
        super(label, corpsInterface);
    }

    @Override
    public void showAttribute() {
        System.out.println("展示步兵属性");
    }

    @Override
    public void showNames() {
        label.show();
        corpsInterface.show();
        System.out.println("步兵");
    }
}
